print('-' * 30)
# for 循环:
for i in range(1, 11):
    print(i)

# 请利用循环依次对list中的每个名字打印出Hello, xxx!：
L = ['Bart', 'Lisa', 'Adam']
for i in range(len(L)):
    print("Hello," + L[i])

# 9*9乘法表
print("\n".join(["\t".join(["{} * {} = {}".format(i, j, i * j) for j in range(1, i + 1)]) for i in range(1, 10)]))
